import singleElement from './single'
const selectedMonth = document.querySelector('.selectedMonth');
const createMonthList = ()=>{
    const monthList = document.createElement('ul');
    monthList.innerHTML = `<li>1月</li>
                    <li>2月</li>
                    <li>3月</li>
                    <li>4月</li>
                    <li>5月</li>
                    <li>6月</li>
                    <li>7月</li>
                    <li>8月</li>
                    <li>9月</li>
                    <li>10月</li>
                    <li>11月</li>
                    <li>12月</li>`
    monthList.className = 'monthSelect';
    selectedMonth.appendChild(monthList);
    monthList.style.display = 'none';
    return monthList;
}

const createSingleMonthList = singleElement(createMonthList)
export {createSingleMonthList,selectedMonth}